package com.javasm.adminapi.module.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.javasm.adminapi.module.system.dto.PerDTO;
import com.javasm.adminapi.module.system.dto.RolePermissionDTO;
import com.javasm.adminapi.module.system.entity.RolePermission;

import java.util.List;

/**
 * 角色权限中间表(RolePermission)表服务接口
 *
 * @author makejava
 * @since 2025-10-18 22:29:09
 */
public interface RolePermissionService extends IService<RolePermission> {


    void deleteByPermissionIds(List<Long> collect2);

    void updateByRid(RolePermissionDTO rolePermissionDTO);

    RolePermission getRolePermission(Long pid, Long rid);

    void savePerDTO(PerDTO permission);
}

